package NonSingletonLab1;

public class FactoryProducer {
	static HouseAbstractFactory getFactory(String style) throws
	InstantiationException, IllegalAccessException, 
	ClassNotFoundException {
		return (HouseAbstractFactory) Class.forName("NonSingletonLab1."+style+"Factory").newInstance();
	}

}
